<!DOCTYPE html>
<html class="iframe-h">

	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>网站后台管理模版</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/admini/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/admini/css/admin.css" />
	</head>

	<body>
		<div class="wrap-container clearfix">
				<div class="column-content-detail">
					<form class="layui-form" action="{:url()}" method="get">
						<div class="layui-form-item">
							<div class="layui-inline tool-btn">
								<a class="layui-btn layui-btn-normal" href="{:url('add_stu')}">查询记录</a>
								<a class="layui-btn layui-btn-warm" href="{:url('export_xl')}">导入</a>
								<a class="layui-btn layui-btn-danger" href="{:url('excel_dc')}">导出</a>
							</div>
							<div class="layui-inline">
								<input type="text" name="keyword" value="{$keyword}"  placeholder="请输入姓名" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-inline">
								<input type="text" name="tel" value="{$tel}"  placeholder="请输入电话" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-inline">
								<select name="grade">
									{foreach name="type" item="vo"}
									<option value="{$vo.id}" {if $vo.level==1}disabled{/if}>{neq name="vo.level" value="1"}| {for start='1' end='$vo.level'} ---- {/for} {/neq} {$vo.class_name}</option>
									{/foreach}
								</select>
							</div>
							<button class="layui-btn layui-btn-normal" lay-submit="search">搜索</button>
							
						</div>
					</form>
					<div class="layui-form" id="table-list">
						<table class="layui-table" lay-even lay-skin="nob">
							<colgroup>
								<col width="50">
								<col  width="50">
								<col class="hidden-xs" width="50">
								<col class="hidden-xs" width="50">
								<col class="hidden-xs" width="60">
								<col class="hidden-xs" width="50">
								<col class="hidden-xs" width="50">
							</colgroup>
							<thead>
								<tr>
									<th><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
									<th>姓名</th>
									<th class="hidden-xs">电话</th>
									<th class="hidden-xs">状态</th>
									<th class="hidden-xs">头像</th>
									<th class="hidden-xs">班级</th>
									<th class="hidden-xs">时间</th>
								</tr>
							</thead>
							<tbody>
								<form id="listForm">
								{volist name="data" id="vo"}
								<tr>
									<td><input type="checkbox" name="ids[]" value="{$vo.id}" class="layui-checkbox checkbox-ids" lay-skin="primary"></td>
									<td>{$vo.name}</td>
									<td class="hidden-xs">{$vo.username}</td>
									<td class="hidden-xs">1回家2不回家</td>
									<td class="hidden-xs"><img  src="{$vo.images|default='__PUBLIC__/index/images/menu_icon.png'}" width="50px" height="50px"></td>
									<td class="hidden-xs">{$vo.class_name}</td>
									<td class="hidden-xs">{$vo.add_time}</td>
								</tr>
								{/volist}
								</form>
							</tbody>
						</table>
						<div class="page-wrap">
							<ul class="pagination">
								{$data->render()}
							</ul>
						</div>
					</div>
				</div>
		</div>
		<script src="__PUBLIC__/admini/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="__PUBLIC__/admini/js/common.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>